package com.caicai.dubbo.provide.caicaidubboprovide;

import cmo.caicai.service.UserInfoService;
import com.caicai.domain.User;
import org.springframework.stereotype.Component;
import org.apache.dubbo.config.annotation.Service;

import java.util.List;

@Component
@Service(version = "1.0")
public class UserServiceInfo implements UserInfoService {

	@Override
	public User findById(String s) {
		User user=new User();
		user.setId("1");
		user.setName("服务提供者");
		user.setSex("男");
		return user;
	}

	@Override
	public Object save(User user) {
		return null;
	}

	@Override
	public Object saveList(List<User> users) {
		return null;
	}
}
